package com.itheima.outdemo;

import java.io.FileOutputStream;
import java.io.IOException;

public class Demo02 {

    public static void main(String[] args) throws IOException {
        FileOutputStream fos = new FileOutputStream("day12\\aaa\\ccc.txt",true);
        String s="我真的很帅";//jdk11 做了优化
        byte[] bytes = s.getBytes();
        fos.write(bytes);
        fos.write("\r\n".getBytes());
        fos.close();
    }
}
